package com.witsight.hibernate.service.impl;

import org.springframework.stereotype.Service;

import com.witsight.hibernate.dao.RoleRepository;
import com.witsight.hibernate.model.Role;
import com.witsight.hibernate.service.RoleService;

/**   
 * 说明：[]
 * @Title: RoleServiceImpl.java 
 * @Package com.witsight.hibernate.service.impl 
 * @See: []
 * Copyright: Copyright (c) 2017
 * Company:sany huax witsight team by product
 * @author: fuyp  
 * @date: 2017年9月19日 下午3:26:53 
 * @version: V1.0
 *
 */
@Service
public class RoleServiceImpl extends JpaBaseGenericServiceImpl<Role,String> implements RoleService{

	protected RoleServiceImpl(RoleRepository baseDao) {
		super(baseDao);
	}
	
	public void saveRole() {
		Role role = new Role();
		role.setRoleName("111111");
		this.getBaseDao().save(role);
	}

}
